
package com.intretech.umsin.system.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import com.intretech.umsin.datasource.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;


 /**
 * @version V1.0
 * 角色信息:sys_role 对应实体类.
 * @ClassName: SysRole
 * @Description: 角色信息:sys_role 对应实体类.
 * @author: 李启联
 * @date:   2022-8-16 16:25:07
 * @Copyright: Copyright (c) 2022
 */
@TableName("`sys_role`")
public class SysRoleEntity extends BaseEntity {
   // 角色名称
   @TableField(value = "role_name")
   private String roleName;
   // 角色权限字符串
   @TableField(value = "role_key")
   private String roleKey;
   // 显示顺序
   @TableField(value = "role_sort")
   private Integer roleSort;
   // 数据范围（1：全部数据权限 2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限）
   @TableField(value = "data_scope")
   private String dataScope;
   // 角色状态（0正常 1停用）
   @TableField(value = "status")
   private String status;
   // 备注
   @TableField(value = "remark")
   private String remark;

   public String getRoleName(){
        return this.roleName;
   }
   public void setRoleName(String roleName){
        this.roleName = roleName;
   }
   public String getRoleKey(){
        return this.roleKey;
   }
   public void setRoleKey(String roleKey){
        this.roleKey = roleKey;
   }
   public Integer getRoleSort(){
        return this.roleSort;
   }
   public void setRoleSort(Integer roleSort){
        this.roleSort = roleSort;
   }
   public String getDataScope(){
        return this.dataScope;
   }
   public void setDataScope(String dataScope){
        this.dataScope = dataScope;
   }
   public String getStatus(){
        return this.status;
   }
   public void setStatus(String status){
        this.status = status;
   }
   public String getRemark(){
        return this.remark;
   }
   public void setRemark(String remark){
        this.remark = remark;
   }

  public SysRoleEntity(){
  }


  @Override
  public String toString(){
  return " SysRole ["
    +" roleName = " +roleName +" ,"
    +" roleKey = " +roleKey +" ,"
    +" roleSort = " +roleSort +" ,"
    +" dataScope = " +dataScope +" ,"
    +" status = " +status +" ,"
    +" remark = " +remark +" ,"
  +" ]";
  }
}